if (!local player) exitWith {};
_unit = _this select 0;
_add = _unit addAction["GetIn", "train\getin.sqf","", 0, false, true];
// _unit setVariable ["GetIn",0];
sleep 2;
onTop_KEY_pressed = compile preprocessfile "train\onTop_KEY_pressed.sqf";
(findDisplay 46) displaySetEventHandler ["keyDown", "_this call onTop_KEY_pressed"];
//hint "ready";
while {alive _unit} do {
	sleep 2;
};